package com.bayihouse.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bayihouse.model.entity.Occupant;
import com.bayihouse.model.request.occupant.OccupantQueryRequest;
import com.bayihouse.model.vo.OccupantVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.text.ParseException;
import java.util.List;

/**
* @author Administrator
* @description 针对表【occupant】的数据库操作Service
* @createDate 2024-09-17 10:28:03
*/
public interface OccupantService extends IService<Occupant> {

    OccupantVO getOccupantVO(Occupant occupant) throws ParseException;

    Wrapper<Occupant> getQueryWrapper(OccupantQueryRequest occupantQueryRequest);

    List<OccupantVO> getOccupantVOList(List<Occupant> records);


    boolean excelUpload(MultipartFile multipartFile, HttpServletRequest request) throws IOException;
}
